The Xrules inference engine is controlled via the "chain" XCMD. The inference engine supports backward or forward chaining and operates on the rule base compiled via the "compXrules" XCMD. The following topics address the operation of the inference engine with respect to processing facts, forward chaining, backward chaining, and processing daemons.